package com.baizhi.mall.mapper;

import com.baizhi.mall.entity.mysql.BzRoleResourceDO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zhw
 * @since 2021-05-17
 */
public interface BzRoleResourceMapper extends BaseMapper<BzRoleResourceDO> {

    List<BzRoleResourceDO> selectByRoleId(Integer roleId);
    //根据Id删除
    void deleteByRoleId(Integer roleId);
}
